package cn.tpshion.devops.domain.entity;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class FlowTemplate {

    @NotBlank(message = "模版名称不能为空")
    private String name;

    @NotNull(message = "流程数据不能为空")
    private TaskWork taskWork;
}
